/*
 ============================================================================
 Name        : SecondPass.h
 Author      : Sherry Krikszer
 Version     : 1.0
 Copyright   : --
 Description :  in C, ANSI-style
 ============================================================================
 */

#ifndef SECONDPASS_H_
#define SECONDPASS_H_

#include "AssemblerCommon.h"

/* ----------------------------------------------------------------------------
 *	Function Declaration
 * ----------------------------------------------------------------------------*/

InstructionMemoryWord* EncodeCommand(CommandOperands* command, InstructionMemoryWord* MemoryWord, SymbolTable* externRefrenceTable, int currentInstructionAddress);

Boolean PerformSecondPass(ProgramLines* programLines, Memory* programMemory,
	SymbolTable* symbolTable, SymbolTable* externSymbolTable, SymbolTable* entryRefrenceTable, SymbolTable* externRefrenceTable);

/* ----------------------------------------------------------------------------
 *	Function Declaration End
 * ----------------------------------------------------------------------------*/

#endif /* SECONDPASS_H_ */
